.List {
    border: 1px solid gray;
}

.ListItemOdd,
.ListItemEven {
    display: flex;
    align-items: center;
    justify-content: center;
}


.ListItemEven {
    background-color: lightcoral;
}

.ListItemOdd {
    background-color: lightblue;
}